package conson.tech.manage.coupons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.coupons.entity.pojo.CouponsUsersLog;
import conson.tech.manage.coupons.entity.vo.CouponsGrantLogVo;
import org.apache.ibatis.annotations.Param;


/**
 * InterfaceName: CouponsUsersLogMapper
 * Description:
 * Author: ZYF
 * Date: 2020/7/20
 * Version: 1.0
 */
public interface CouponsUsersLogMapper extends BaseMapper<CouponsUsersLog> {

    /**
     * 查询优惠券全流程日志
     */
    Page<CouponsGrantLogVo> cancellationCouponsLog(Page<CouponsGrantLogVo> page, @Param("couponsCode") String couponsCode);
}
